//引入请求
import http from "../utils/http2.js";


//供应商报价单
export function querySupplierQuotation(data){
  return http.put("/api/supplierQuotation/list", data);
}

//根据id查寻报价单相关的信息
export function queryQuotationById(id){
  return http.get("/api/supplierQuotation/"+id,{})
}

//保存供应商报价单(产品询价）
export function saveCPXJ(data){
  return http.post("/api/supplierQuotation/cpxj", data);
}

//保存供应商报价单(筛网）
export function saveSWXJ(data){
  return http.post("/api/supplierQuotation/swxj", data);
}

//改变报价单状态
export function changeStatus(data){
  return http.put("/api/supplierQuotation/status", data);
}

//保存供应商报价单修改申请
export function saveReason(data){
  return http.put("/api/supplierQuotation/reason",data)
}
